﻿<div class="profile">
    <ul>
        <li class="active">
            <a href="@(Url.Action(MVC.Profile.Show()))/<%=Login%>">Profile</a>
        </li>
        <li>
            <a href="@(Url.Action(MVC.Profile.RatedBooks()))/<%=Login%>">Rated books</a>
        </li>
        <li>
            <a href="@(Url.Action(MVC.Friends.FriendsListing()))/<%=Login%>">Friends</a>
        </li>
    </ul>
    <div>
        <div class="avatar">
            <img src="<%=Avatar%>" title="avatar"/>
            <% if (UserId != CurrentUserId) {%>
                <button class="add-to-friends">Add to friends</button>
                <button class="send-message">Send Message</button>
            <%}%>
        </div>
        <div>
            <p>Login : <span><%=Login%></span></p>
            <p>Email : <span><%=Email%></span></p>
            <p>Status : <span><%=Status%></span></p>
        </div>
    </div>
</div>